package edu.uwm.cs552;

public interface TrackRental {
	/**
	 * How much does it cost to travel on another
	 * players rails between two points, across a given barrier.
	 * @param t1 first terrain
	 * @param b barrier being crossed, may be null
	 * @param t2 second terrain
	 * @return standardized track usage fee
	 */
	public double cost(Terrain t1, Barrier b, Terrain t2);
}
